<?php
declare(strict_types=1);

namespace app\admin\service;

use app\admin\model\ResourceViewLog as ResourceViewLogModel;

class ResourceViewLogService
{
    /**
     * 创建社群查看记录
     * @param $data
     * @return \app\admin\model\ResourceView|\think\Model
     */
    public static function createResourceViewLog($data)
    {
        return ResourceViewLogModel::createResourceViewLog($data);
    }
}